Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ag-grid-enterprise

Package Overview
Dependencies
Maintainers
2
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ag-grid-enterprise

ag-Grid Enterprise Features

  • 4.2.11
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created

What is ag-grid-enterprise?

The ag-grid-enterprise npm package is a powerful data grid component for JavaScript frameworks like Angular, React, and Vue. It provides advanced features for data manipulation, visualization, and interaction, making it suitable for enterprise-level applications.

What are ag-grid-enterprise's main functionalities?

Pivoting

Pivoting allows you to dynamically change the structure of your data, summarizing it in a way that makes it easier to analyze. The code sample demonstrates how to enable pivot mode and define pivot columns.

const gridOptions = {
  columnDefs: [
    { field: 'athlete', pivot: true },
    { field: 'age' },
    { field: 'country' },
    { field: 'year' },
    { field: 'date' },
    { field: 'sport' },
    { field: 'gold' },
    { field: 'silver' },
    { field: 'bronze' },
    { field: 'total' }
  ],
  pivotMode: true,
  rowData: null // set row data here
};

Row Grouping

Row Grouping allows you to group rows based on the values of one or more columns. The code sample shows how to enable row grouping for the 'country' and 'year' columns.

const gridOptions = {
  columnDefs: [
    { field: 'athlete' },
    { field: 'age' },
    { field: 'country', rowGroup: true },
    { field: 'year', rowGroup: true },
    { field: 'date' },
    { field: 'sport' },
    { field: 'gold' },
    { field: 'silver' },
    { field: 'bronze' },
    { field: 'total' }
  ],
  rowData: null // set row data here
};

Aggregation

Aggregation allows you to perform calculations on your data, such as summing up values. The code sample demonstrates how to set up aggregation functions for the 'gold', 'silver', 'bronze', and 'total' columns.

const gridOptions = {
  columnDefs: [
    { field: 'athlete' },
    { field: 'age' },
    { field: 'country' },
    { field: 'year' },
    { field: 'date' },
    { field: 'sport' },
    { field: 'gold', aggFunc: 'sum' },
    { field: 'silver', aggFunc: 'sum' },
    { field: 'bronze', aggFunc: 'sum' },
    { field: 'total', aggFunc: 'sum' }
  ],
  rowData: null // set row data here
};

Excel Export

Excel Export allows you to export your grid data to an Excel file. The code sample shows how to trigger an Excel export when the grid is ready.

const gridOptions = {
  columnDefs: [
    { field: 'athlete' },
    { field: 'age' },
    { field: 'country' },
    { field: 'year' },
    { field: 'date' },
    { field: 'sport' },
    { field: 'gold' },
    { field: 'silver' },
    { field: 'bronze' },
    { field: 'total' }
  ],
  rowData: null, // set row data here
  onGridReady: function(params) {
    params.api.exportDataAsExcel();
  }
};

Other packages similar to ag-grid-enterprise

Keywords

FAQs

Package last updated on 17 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc